package com.jarvis.pzz.models;

import java.io.PipedReader;
import java.io.Serializable;
import java.util.List;

/**
 * Created by jarvis.liu on 9/12/2016.
 */
public class SearchTypeModel implements Serializable {
    private String displayValue;
    private String id;
    private String type;
    private boolean isSelect;
    private String img_url;
    private boolean is_business;

    public boolean isIs_business() {
        return is_business;
    }

    public void setIs_business(boolean is_business) {
        this.is_business = is_business;
    }

    public SearchTypeModel(String displayValue, String id, String type) {
        this.displayValue = displayValue;
        this.id = id;
        this.type = type;
    }

    public SearchTypeModel(String displayValue, String id, String type, boolean isSelect) {
        this.displayValue = displayValue;
        this.id = id;
        this.type = type;
        this.isSelect = isSelect;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    @Override
    public String toString() {
        return "SearchTypeModel{" +
                "displayValue='" + displayValue + '\'' +
                ", id='" + id + '\'' +
                '}';
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public String getDisplayValue() {
        return displayValue;
    }

    public void setDisplayValue(String displayValue) {
        this.displayValue = displayValue;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
